package com.yunfeng.greenfarm.model.user;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ADMINBASIC")
public class AdminBasic implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3373655172241909955L;
	private int AdminID;
	private String AdminLoginName;
	private String PassWord;
	private int levelID;
	private String AdminType;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "AdminID", unique = true, nullable = false)
	public int getAdminID() {
		return AdminID;
	}

	public void setAdminID(int adminID) {
		AdminID = adminID;
	}
	
	@Column
	public String getAdminLoginName() {
		return AdminLoginName;
	}

	public void setAdminLoginName(String adminLoginName) {
		AdminLoginName = adminLoginName;
	}
	
	@Column
	public String getPassWord() {
		return PassWord;
	}

	public void setPassWord(String passWord) {
		PassWord = passWord;
	}

	public int getLevelID() {
		return levelID;
	}

	public void setLevelID(int levelID) {
		this.levelID = levelID;
	}

	@Column
	public String getAdminType() {
		return AdminType;
	}

	public void setAdminType(String adminType) {
		AdminType = adminType;
	}
}
